/*
Copyright (C) 2010- Peter Bui and Aaron Dingler.
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/

#ifndef	__SMQ_CATALOG_H__
#define	__SMQ_CATALOG_H__

#include "smq_common.h"

#include <link.h>
#include <list.h>

#define SMQ_ADDRESS_MAX	LINK_ADDRESS_MAX

struct smq_catalog_host {
    char address[SMQ_ADDRESS_MAX];
    int  port;
};

extern struct list *smq_catalog_get_hosts(char *name, int check_queue);

#endif

/* 
vim: sw=4 sts=4 ts=8 ft=cpp
*/
